![]() |
PBDeleteForkAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Deletes a named fork of a file or directory.
void PBDeleteForkAsync ( FSForkIOParam *paramBlock );
A pointer to a parameter block.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function. If the named fork does not exist, errFSForkNotFound is returned.
On input, the file or directory.
On input, the length of the fork name in Unicode characters.
On input, the name of the fork to delete (in Unicode).
This field may be modified.
This field may be modified.
This field may be modified.
This field may be modified.
Any storage allocated to the fork is released.
If a given fork always exists for a given volume format (such as data and resource forks for HFS and HFS Plus, or data forks for most other volume formats), this is equivalent to setting the logical size of the fork to zero.
Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)